AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Executes a Query operation against DynamoDB, finding items that match the specified range element condition for a hash-and-range primary key.

Namespace: Amazon.DynamoDBv2.DataModel
Assembly: AWSSDK.DynamoDBv2.dll
Version: 3.x.y.z

Syntax

C#
public virtual IEnumerable<T> Query(
         Object hashKeyValue,
         QueryOperator op,
         Object[] values
)

Parameters

hashKeyValue
Type: System.Object

Hash key of the items to query.

op
Type: Amazon.DynamoDBv2.DocumentModel.QueryOperator

Operation of the condition.

values
Type: System.Object[]

Value(s) of the condition. For all operations except QueryOperator.Between, values should be one value. For QueryOperator.Betwee, values should be two values.

Return Value


Type: IEnumerable<T>
Lazy-loaded collection of results.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5